package com.foxire.polymorphsm2;

public class Tortoise extends Animal {
    String name = "乌龟";
    @Override
    public void run(){
        System.out.println("Tortoise is running");
    }
    public void shrinkHead(){
        System.out.println("乌龟缩头~~~");
    }
}
